Skip to content

ci: take licence exemptions from 0xPolygon/pipelines - #1069

Draft
taylanpince wants to merge 1 commit into
masterfrom
ci/central-licence-exemptions
Draft

taylanpince wants to merge 1 commit into
masterfrom
ci/central-licence-exemptions

Conversation

@taylanpince

Copy link
Copy Markdown
Contributor

Moves this repo's dependency-review licence exemptions into 0xPolygon/pipelines, so they're approved by the security team instead of being editable in the PR they apply to. Depends on 0xPolygon/pipelines#119: merge that first.

Why: the caller workflow runs from the pull request, so a PR could add a copyleft package and its exemption in the same diff and pass its own check (raised in review of 0xsequence/trails-api#1239).

What changes

  • dependency-review.yml no longer passes allow-dependencies-licenses. The same 13 packages now live in .github/dependency-review/0xsequence/sequence.js.txt in pipelines, unchanged. Adding one is a PR there, then a pin bump here.
  • The security-* pins move to 8674784, the head of pipelines#119, which reads that file. It stays in pipelines' history after the PR is merged with a merge commit.
  • The gates' thresholds are now fixed in pipelines; nothing else changes in behaviour.

The dependency-review and zizmor checks on this PR already run the new pipelines code.

The licence exemptions for dependency review move out of this repo's caller
into 0xPolygon/pipelines (.github/dependency-review/0xsequence/<repo>.txt),
where the security team reviews changes to them. A pull request here can no
longer exempt the package it adds. The list itself is unchanged.

The security gate pins move to the pipelines commit that reads them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pkg:npm/@img/sharp-win32-arm64,
pkg:npm/@img/sharp-win32-ia32,
pkg:npm/@img/sharp-win32-x64
uses: 0xPolygon/pipelines/.github/workflows/security-dependency-review.yml@8674784067b26bea487d811e546dffb0c7d0158e # 2026-11-17
actions: read
security-events: write # SARIF upload to code scanning
uses: 0xPolygon/pipelines/.github/workflows/security-zizmor.yml@cb7db0e0135424415839eefb4a81052a84cda278 # main, 2026-11-16
uses: 0xPolygon/pipelines/.github/workflows/security-zizmor.yml@8674784067b26bea487d811e546dffb0c7d0158e # 2026-11-17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants